<div style="margin: 0 0 5px 25px;">
    <span>机构类型：</span>
        <span>
            <label><#if type?exists && type == 1>物流商<#else>企业机构</#if></label>
        </span>
</div>

<#if type?exists && type == 1>
<div id="wls_detail">
    <table style="width:100%" class="tb tab-t t-bor">
        <col width="13%"/>
        <col width="37%"/>
        <col width="17.5%"/>
        <col width="32.5%"/>
        <tr>
            <th style="color:#f45212;">全&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</th>
            <td>${(wls.qc)!''}</td>
            <th style="color:#f45212;">简&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</th>
            <td>${(wls.jc)!''}</td>
        </tr>
        <tr>
            <th style="color:#f45212;">编&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</th>
            <td>
            ${(wls.bm)!}
            </td>
            <th>助&nbsp;记&nbsp;码：</th>
            <td>${(wls.zjm)!''}
            </td>
        </tr>
        <tr>
            <th>企业法人：</th>
            <td>
            ${(wls.qyfr.id)!''}
            </td>
            <th>联&nbsp;系&nbsp;人：</th>
            <td>
            ${(wls.lxr)!''}
            </td>
        </tr>
        <tr>
            <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
            <td colspan="3">
            ${(wls.bz)!''}
            </td>
        </tr>
    </table>
</div>
<#else>
<div id="qyjg_detail">
    <div class="easyui-tabs">
        <div title="基本信息">
            <table style="width:100%" class="tb tab-t t-bor">
                <col width="15%"/>
                <col width="33%"/>
                <col width="17.5%"/>
                <col width="32.5%"/>
                <tr style="height: 10px;"/>
                <tr>
                    <th style="color:#f45212;">全&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</th>
                    <td>${(qyjg.qc)!''}</td>
                    <th style="color:#f45212;">简&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</th>
                    <td>${(qyjg.jc)!''}</td>
                </tr>
                <tr>
                    <th>编&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</th>
                    <td>
                    ${(qyjg.bm)!}
                    </td>
                <#--<td><input name="qyjg.bm" type="text"style="background-color:#F8F8FF;"  readonly="readonly" class="input-text-border-zero"   value="${(qyjg.bm)!''}"/></td>-->
                    <th>企业法人：</th>
                    <td>
                    ${(qyjg.qyfr.id)!''}
                    </td>
                </tr>

                <tr>
                    <th>联 &nbsp;系&nbsp;&nbsp;人：</th>
                    <td>
                    ${(qyjg.lxr)!''}
                    </td>
                    <th>联系电话：</th>
                    <td>${(qyjg.lxdh)!''}</td>
                </tr>
                <tr>
                    <th>助&nbsp;&nbsp;记&nbsp;&nbsp;码：</th>
                    <td>${(qyjg.zjm)!''}</td>
                    <th>是否零售：</th>
                    <td><label>
                        <#if (qyjg.sfls)?? && qyjg.sfls==true>是<#else>否</#if></label></td>
                </tr>
                <tr>
                    <th>组织机构号：</th>
                    <td>${(qyjg.zzjgh)!''}
                    </td>
                    <th>纳&nbsp;税&nbsp;&nbsp;号：</th>
                    <td>
                    ${(qyjg.nsh)!''}
                    </td>
                </tr>
                <tr>
                    <th>营业执照注册号：</th>
                    <td>
                    ${(qyjg.qyfrh)!''}
                    </td>
                </tr>
                <tr style="height: 10px;"/>
                <tr>
                    <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                    <td colspan="3">
                    ${(qyjg.bz)!''}
                    </td>
                </tr>
            </table>
        </div>
        <div title="部门维护">

            <table id="nbjg_grid" rownumbers="true" fit="true" fitColumns="true" showFooter="true"
                   class="easyui-datagrid"
                   url="${base}/organ/qyjg/nbjgList?qyjgId=${(qyjg.id)!''}">
                <thead>
                <tr>
                    <th field="qc" width="120">全称
                    </th>
                    <th field="jc" width="120">简称</th>
                    <th field="zjm" width="120">助记码</th>
                    <th field="bz" width="185">备注</th>
                </tr>
                </thead>
            </table>
        </div>
    </div>
</div>
</#if>

